Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

risc-v: Use medany model #467

Merged
merged 1 commit into from
Jan 21, 2020
Merged

risc-v: Use medany model #467

merged 1 commit into from
Jan 21, 2020

Conversation

laanwj
Copy link
Contributor

@laanwj laanwj commented Jan 19, 2020

With rust-lang/rust#62281, rust compiles in mcmodel=medium mode for RISC-V which is equivalent to GCC medany. This prevents linker relocation errors when code is placed outside the range -0x80000000..0x7ffffffff.

With rust-lang/rust#62281, rust compiles in mcmodel=medium mode
which is equivalent to GCC medany. This prevents linker relocation
errors code is placed outside the range `-0x80000000..0x7ffffffff`.
@alexcrichton alexcrichton merged commit 9228de6 into rust-lang:master Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants